package cn.tedu.yushougeproduct.pojo.param;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@Data
@Accessors
@TableName("comment")
public class CommentAddNewParam {

    /**
     * 用户评论内容
     */
    @NotNull(message = "添加失败，必须提交用户评论内容！")
    @ApiModelProperty(value = "用户评论内容",required = true,example = "真好看！我也想买一只")
    private String commentContent;

}
